package com.solution.admin.customer.dao;

import java.util.List;
import java.util.Map;

import com.solution.admin.customer.entity.CustomerAccountEntity;
import com.solution.common.dao.BaseDao;
import com.solution.common.page.PageBean;
import com.solution.common.page.PageParam;

/**
 * 客户提现账号DAO接口
 * @author lufer
 * @date 2018-05-04 16:53:12
 */
public interface CustomerAccountDao extends BaseDao<CustomerAccountEntity> {
	
	/**
	 * 保存客户提现账号
	 * @param customerAccountEntity
	 * @return
	 * @author lufer
	 * @date 2018-05-04 16:53:12
	 */
	public long saveCustomerAccount(CustomerAccountEntity customerAccountEntity);

	/**
	 * 分页查询客户提现账号信息
	 * @param pageParam 分页对象
	 * @param customerAccount 分页参数
	 * @return PageBean 分页参数及数据
	 * @author lufer
	 * @date 2018-05-04 16:53:12
	 */
	public PageBean listCustomerAccountPage(PageParam pageParam, Map<String, Object> param);

	/**
	 * 更新客户提现账号
	 * @param customerAccountEntity
	 * @return
	 * @author lufer
	 * @date 2018-05-04 16:53:12
	 */
	public int updateCustomerAccount(CustomerAccountEntity customerAccountEntity);


	/**
	 * 删除客户提现账号角色
	 * @param id
	 * @return
	 * @author lufer
	 * @date 2018-05-04 16:53:12
	 */
	public int deleteCustomerAccountById(Long id);
	
	/**
	 * 根据客户提现账号类型获取客户提现账号
	 * @param param
	 * @return
	 * @author lufer
	 * @date 2018-05-04 16:53:12
	 */
	public List<CustomerAccountEntity> listCustomerAccount( Map<String, Object> param);
}
